package com.bytedance.service;

import com.bytedance.dataobject.C;
import com.bytedance.model.Result;

import java.util.List;

public interface CService {

    Result<C> add(C c);

    Result<C> update(C c) throws Exception;

    Result<List<C>> getAll();

    Result<List<C>> getByB(String b);
}
